Add theme font options to editor settings & "InspectorTypeButtonProfile" profile#1324
Open
Eikelenboom wants to merge 3 commits intoTorqueGameEngines:developmentfrom
Open
Add theme font options to editor settings & "InspectorTypeButtonProfile" profile#1324Eikelenboom wants to merge 3 commits intoTorqueGameEngines:developmentfrom
Eikelenboom wants to merge 3 commits intoTorqueGameEngines:developmentfrom
Conversation
In InspectorTypes.cpp there are referrals to a non-existing profile. That's why are the buttons in the inspector really hard to read and can't be changed in the prefs/settings. Adding another profile "InspectorTypeButtonProfile" based on the default "ToolsGuiButtonProfile"
The text in the editor is displayed in the Arial font by default. This commit will add 2 x 2 extra options so it may be changed to the user preferences. The theme is at its best with the Open Sans font so that text fields aren't cut off, because the width of the Arial characters is generally large. However, Arial remains to be default, also the fallback. Console/engine function is added to be able to read environment variables in script; In this case to be able to find the fonts installation path.
Contributor
Author
|
Note: These commits will update the GUI profiles with a check if the objects exist or not; at times the console got spammed with warnings (for example updating the theme in preferences). I'm finished with this pull request. Cheers, Nils |
Switch to the Segoe UI windows system font instead of Arial for the GUI's. This will solve the problem of overlapping GUI elements and in most instances text being cut off (labels etc.) Segoe UI is supported/provided on/with Windows Vista up to Windows 11 and especially designed for use in GUI's This commit does not tackle the security issues with the "getEnvironment" command.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The text in the editor is displayed in the Arial font by default. This commit will add 2 x 2 extra options so it may be changed to the user preferences.
The theme is at its best with the Open Sans font so that text fields aren't cut off, because the width of the Arial characters is generally large. However, Arial remains to be default, also the fallback.
Console/engine function is added to be able to read environment variables in script; In this case to be able to find the fonts installation path.
In InspectorTypes.cpp there are referrals to a non-existing profile. That's why are the buttons in the inspector really hard to read and can't be changed in the prefs/settings.
Adding another profile "InspectorTypeButtonProfile" based on the default "ToolsGuiButtonProfile"